package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.Order;
import com.weixing.mall.provider.model.domain.OrderPay;

/**
 * <p>
 * 订单模块-订单支付表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-12
 */
public interface IOrderPayService extends IService<OrderPay> {

    OrderPay findByOrderId(Long orderId);

    OrderPay findByOutTradeNo(String outTradeNo);

    void execQuerySuccess(Order order, OrderPay orderPay);

    void execNotifySuccess(Order order, OrderPay orderPay);
}
